﻿using System.ComponentModel.DataAnnotations;

namespace MVCMusicStore.Models
{
    public class Review
    {
        [Key]
        public int ReviewId { get; set; }
        public int AlbumId { get; set; }

        public virtual Album2 Album { get; set; }

        public string Contents { get; set; }
        [Required(ErrorMessage="Need Reviewer Email Address!!")]
        [Display(Name = "Email Address")]
        [DataType(DataType.EmailAddress)]
        public string ReviewweEmail { get; set; }
    }
}
